﻿using System;
using LogHelper.SQLiteORM.Attributes;

namespace LogHelper.SQLiteORM.Internal
{
    [Serializable]
    public class TableInfo
    {
        [PrimaryKey(SqliteDataType.Int,Name = "cid")]
        public int CId { get; set; }

        [Column(SqliteDataType.NVarchar,Name = "name")]
        public string Name { get; set; }

        [Column(SqliteDataType.NVarchar, Name = "type")]
        public string Type { get; set; }

        [Column(SqliteDataType.Bool,Name = "notnull")]
        public bool NotNull { get; set; }
    }
}